package com.ld.wms.business.material.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 物料类型支持的字段
 * </p>
 *
 * @author wangfeng
 * @since 2025-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("material_type_field")
@Schema(description = "物料类型支持的字段")
public class MaterialTypeFieldModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "唯一编号")
    private Long materialTypeId;

    @Schema(description = "唯一编号")
    private Long fieldInfoId;

    public static final String MATERIAL_TYPE_ID = "material_type_id";

    public static final String FIELD_INFO_ID = "code";


}
